<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>产品列表页</title>
    <!-- @@include ./template/link.html -->
    <link rel="stylesheet" href="./css/productlist.min.css" />
  </head>
  <body>
    <!-- @@include ./template/header.html -->
    <!-- @@include ./template/search.html -->
    <!-- @@include ./template/nav.html -->
    <main>
      <div class="content">
        <ul></ul>
        <!-- @@include ./template/pagination.html -->

        <!-- @@include ./template/footer.html -->
      </div>
    </main>
    <script src="./js/productlist.min.js"></script>
    <script type="text/html" id="tmp">
      {{each list v i}}
      <li>
        <a href="./bijia.html?productId={{v.productId}}&categoryId={{v.categoryId}}>">
        <div class="pic">
            <img src="{{v.productImg.src}}" alt="{{v.productImg.alt}}" />
        </div>
        <div class="info">
            <p class="tit">
            {{v.productName}}
            </p>
            <p class="price"><span>{{v.productPrice}}</span></p>
            <p class="other"><em>{{v.productQuote}}</em><em>{{v.productCom}}</em></p>
        </div>
        </a>
      </li>
      {{/each}}
    </script>
  </body>
</html>
